package com.mzj.saas.mservice.property.entity;

import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * 余额操作记录明细
 */
@Entity
@Table(name = "saas_department_remaining_record")
public class DepartmentRemainingRecord extends IdEntity {


    /**
     * 账单id
     */
    @Column(name = "bill_id", nullable = true)
    private Long billId;

    /**
     * 余额id
     */
    @Column(name = "remaining_id", nullable = true)
    private Long remainingId;

    /**
     * 操作金额
     */
    @Column(name = "operate_money", nullable = true)
    private Integer operateMoney;

    /**
     * 操作人id
     */
    @Column(name = "operator_id", nullable = true)
    private String operatorId;
    /**
     * 操作时间
     */
    @Column(name = "update_time", nullable = true)
    private Date updateTime;
    /**
     * 操作状态: 1成功 2失败
     */
    @Column(name = "update_status", nullable = true)
    private Integer updateStatus;
    /**
     * 操作原因
     */
    @Column(name = "cause", nullable = true)
    private String cause;
    /**
     * 操作相关房屋id
     */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /**
     * 操作类型： 1充值 2扣减
     */
    @Column(name = "operate_status", nullable = true)
    private Integer operateStatus;
    /**
     * 账单类型: 0账户充值 1水费 2电费 3物业费 4宽带费 5电视费 6煤气费 7暖气费 8租金 9押金
     */
    @Column(name = "bill_status", nullable = true)
    private Integer billStatus;
    /**
     * 状态：1正常 2已删除
     */
    @Column(name = "status", nullable = true)
    private Integer status;

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Long getBillId() {
        return billId;
    }

    public void setBillId(Long billId) {
        this.billId = billId;
    }

    public Long getRemainingId() {
        return remainingId;
    }

    public void setRemainingId(Long remainingId) {
        this.remainingId = remainingId;
    }

    public Integer getOperateMoney() {
        return operateMoney;
    }

    public void setOperateMoney(Integer operateMoney) {
        this.operateMoney = operateMoney;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateStatus() {
        return updateStatus;
    }

    public void setUpdateStatus(Integer updateStatus) {
        this.updateStatus = updateStatus;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public Integer getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(Integer operateStatus) {
        this.operateStatus = operateStatus;
    }

    public Integer getBillStatus() {
        return billStatus;
    }

    public void setBillStatus(Integer billStatus) {
        this.billStatus = billStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
